package com.dkm.ec.activity.domain;

import com.dkm.base.core.helper.SpringHelper;
import com.dkm.biz.domain.AbstractDomain;
import com.dkm.ec.activity.persistence.dao.SecKillActivityConfigDao;
import com.dkm.ec.activity.persistence.entity.SecKillActivityConfigPo;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

/**
 * Created by fanjinyuan on 2017/8/11.
 */
@SuppressWarnings("serial")
@Service
@Scope("prototype")
public class SecKillActivityConfig extends AbstractDomain<String, SecKillActivityConfigPo> {

    private SecKillActivityConfigDao secKillActivityConfigDao;


    protected void init(){
        secKillActivityConfigDao = SpringHelper.getBean(SecKillActivityConfigDao.class);
        setDao(secKillActivityConfigDao);
    }

}
